package com.yunzhong.appointment.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

import com.yunzhong.appointment.entity.Visitsettime;

public interface VisitsettimeMapper {
    int deleteByPrimaryKey(String visitstId);

    int insert(Visitsettime record);

    int insertSelective(Visitsettime record);

    Visitsettime selectByPrimaryKey(String visitstId);

    int updateByPrimaryKeySelective(Visitsettime record);

    int updateByPrimaryKey(Visitsettime record);
    /**
     * @description 根据医生外键删除数据
     * @author 石洪刚
     * @time 2017年9月11日09:49:02
     * @param id
     */
    @Delete("delete from visitsettime where doctor_id = #{id}")
	void removeByDoctorId(String id);
    
}